package network;

import java.util.List;
import java.util.Map;

import GsonBean.AddJclrxxListBean;
import GsonBean.AddPointBean;
import GsonBean.CheckInfoBean;
import GsonBean.CheckPersonBean;
import GsonBean.CheckPlanBean;
import GsonBean.ContactBean;
import GsonBean.IsLogin;
import GsonBean.JcxxChakanBean;
import GsonBean.JdjcdclBean;
import GsonBean.JdjclrBean;
import GsonBean.JdjclrxqBean;
import GsonBean.JhshBean;
import GsonBean.JhshLsBean;
import GsonBean.NewAppBean;
import GsonBean.ProtectMeasuresBean;
import GsonBean.RjhsgxmList;
import GsonBean.SafetyBean;
import GsonBean.SecurityRiskBean;
import GsonBean.SgcxrjhBean;
import GsonBean.SgcxrjhDetailBean;
import GsonBean.SgcxzjhBean;
import GsonBean.SgcxzjhDetailBean;
import GsonBean.SgqdBean;
import GsonBean.SgrjhCkshjlBean;
import GsonBean.SgrjhShListBean;
import GsonBean.SgrjhShywcListBean;
import GsonBean.SgzjhCkshjlBean;
import GsonBean.ShenheInfoBean;
import GsonBean.ShyjhxqBean;
import GsonBean.ShzjhBean;
import GsonBean.ShzjhywcBean;
import GsonBean.SuccessBean;
import GsonBean.UniteInfomationBean;
import GsonBean.UserBean;
import GsonBean.YjhshthBean;
import GsonBean.ZbyjhBean;
import GsonBean.ZsjhChangeBean;
import GsonBean.ZsrjhBean;
import GsonBean.ZsyjhBean;
import GsonBean.ZsyjhxxBean;
import GsonBean.ZszjhBean;
import GsonBean.ZszjhxxBean;
import GsonBean.post.AddPointPost;
import GsonBean.post.CheckPersonPost;
import GsonBean.post.IsShutDownAuditPost;
import GsonBean.post.LjyyxRjdjhbShdw;
import GsonBean.post.MySgbOpeartion;
import GsonBean.post.MySgbOpeartionZd;
import GsonBean.post.MyYdjdjhbInfo;
import GsonBean.post.MyZjdjhbShdw;
import GsonBean.post.QdzgrPost;
import GsonBean.post.SaveCaoGaoPost;
import GsonBean.post.SgbDhzPost;
import GsonBean.post.SgbThPost;
import GsonBean.post.SgbhzPost;
import GsonBean.post.SgyjhshPost;
import GsonBean.post.ShPost;
import GsonBean.post.ShcfPost;
import GsonBean.post.TgysPost;
import GsonBean.post.TjjdjcdPost;
import GsonBean.post.TxzgqkPost;
import GsonBean.post.XmzgbmTjPost;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;

/**
 * Created by Ren on 2018/9/29.
 */

public interface Api {

    @POST("authz/login")
    Call<IsLogin> login(@QueryMap Map<String,String> map);

    @POST("vwljyyxrjdjhjcbjhrap/list")
    Call<CheckPlanBean> getCheckListData(@QueryMap Map<String,String> map);

    @POST("ljyyxrjdjhb/getBasicInfo")
    Call<CheckInfoBean> getCheckInfoData(@Query("bh") String bh);

    @POST("vwljyyxzdbyhdwxx/list")
    Call<UserBean> getAllUserInfoByCompanyId(@QueryMap Map<String,String> map);

    @POST("ljyyxrjdjhjcbsgjhr/dwjhrlist")
    Call<CheckPersonBean> getSgjhry(@QueryMap Map<String,String> map);

    @POST("ljyyxrjdjhjcbsgjhr/savedwjhrs")
    Call<SuccessBean> saveEditerPerson(@Body List<CheckPersonPost> list);

    @POST("ljyyxzdbaqfx/list")
    Call<SecurityRiskBean> getAllSecurityRisk();

    @POST("ljyyxzdbaqfhcs/list")
    Call<ProtectMeasuresBean> getAllProtectMeasures();

    @POST("ljyyxrjdjhjcbaqfxcs/dwfxdlist")
    Call<AddPointBean> getBcfxd(@QueryMap Map<String,String> map);

    @POST("ljyyxrjdjhjcbaqfxcs/savedwfxds")
    Call<AddPointPost> UpdataBcaqfx(@Body List<AddPointPost> list);

    @POST("vwljyyxrjdjhjcbjcblr/list")
    Call<JdjclrBean> getCustodyData(@QueryMap Map<String,String> map);

    @GET("supervision/getUntreatedList")
    Call<JdjcdclBean> getCustodyDclData(@QueryMap Map<String,String> map);

    @GET("supervision/getTreatedList")
    Call<JdjcdclBean> getCustodyYclData(@QueryMap Map<String,String> map);

    @POST("ljyyxrjdjhjcb/getAddInfo")
    Call<JdjclrxqBean> getJdjcjhInfo(@QueryMap Map<String,String> map);

    @POST("ljyyxrjdjhjcb/saveRjdjhjcb")
    Call<SuccessBean> SaveCaoGao(@Body SaveCaoGaoPost bean);

    @POST("ljyyxrjdjhjcb/deleteRjdjhjcb")
    Call<SuccessBean> sccg(@QueryMap Map<String,String> map);

    @POST("ljyyxrjdjhb/zsrjhlist")
    Call<AddJclrxxListBean> getZsrjhtxjdjcListDate(@QueryMap Map<String,String> map);

    @POST("ljyyxrjdjhb/getRjhSgxmList")
    Call<RjhsgxmList> getRjhSgxmList(@QueryMap Map<String,String> map);

    @POST("ljyyxrjdjhjcb/saveRjdjhjcbZgxx")
    Call<SuccessBean> Zgtj(@Body SaveCaoGaoPost bean);

    @POST("ljyyxrjdjhjcb/saveRjdjhjcb")
    Call<SuccessBean> tjwc(@Body SaveCaoGaoPost bean);

    @POST("ljyyxrjdjhjcbAudit/getRjdjhjcbAuditInfo")
    Call<JcxxChakanBean> getJcxxChakanList(@QueryMap Map<String,String> map);

    @POST("ljyyxrjdjhjcbAudit/updateJcbTgAudit")
    Call<SuccessBean> TgShqr(@Body IsShutDownAuditPost bean);

    @POST("ljyyxrjdjhjcbAudit/updateJcbAppointZgr")
    Call<SuccessBean> Qdzgr(@Body QdzgrPost bean);

    @POST("ljyyxrjdjhjcbAudit/updateJcbSubmit")
    Call<SuccessBean> Tjjdjcd(@Body TjjdjcdPost bean);

    @POST("ljyyxrjdjhjcbAudit/updateJcbZgqk")
    Call<SuccessBean> Txzgqk(@Body TxzgqkPost bean);

    @POST("ljyyxrjdjhjcbAudit/updateJcbAudit")
    Call<SuccessBean> Sh(@Body ShPost bean);

    @POST("ljyyxrjdjhjcbAudit/updateJcbRetract")
    Call<SuccessBean> shcf(@Body ShcfPost bean);

    @POST("ljyyxzdbdwxx/list")
    Call<UniteInfomationBean> getAllUniteInfomation();

    @POST("file/getLatestAppVersion")
    Call<NewAppBean> getApp();

    @POST("ljyyxzdbsgwtfl/list")
    Call<SafetyBean> getAllSafety();

    @POST("ljyyxrjdjhjcbAudit/updateJcbTgPreAudit")
    Call<SuccessBean> Tgys(@Body TgysPost bean);

    @POST("ljyyxrjdjhjcbAudit/updateJcbFgPreAudit")
    Call<SuccessBean> Fgys(@Body TgysPost bean);

    @POST("ljyyxrjdjhjcbAudit/updateJcbFgAudit")
    Call<SuccessBean> Fgsh(@Body TgysPost bean);

    @POST("ljyyxrjdjhjcbAudit/updateJcbAudit")
    Call<SuccessBean> Zgsh(@Body TgysPost bean);

    @POST("ljyyxrjdjhbzsjh/list")
    Call<ZsrjhBean> getZsrjhList(@QueryMap Map<String,String> map);

    //正式周计划接口需要确认
    @POST("ljyyxzjdjhbzsjh/list")
    Call<ZszjhBean> getZszjhList(@QueryMap Map<String,String> map);

    @POST("ljyyxydjdjhbzsjh/list")
    Call<ZbyjhBean> getZbyjhList(@QueryMap Map<String,String> map);

    @POST("ljyyxydjdjhbzsjh/list")
    Call<ZsyjhBean> getZsyjhList(@QueryMap Map<String,String> map);


    @POST("ljyyxrjdjhjcbAudit/updateJcbAudit")
    Call<SuccessBean> changeZsrjh(@Body ZsjhChangeBean bean);

    @POST("ljyyxydjdjhb/getBasicInfo")
    Call<ShyjhxqBean> getZsyjhXx(@QueryMap Map<String,String> map);

    @POST("ljyyxzjdjhb/getBasicInfo")
    Call<ZszjhxxBean> getZszjhXx(@QueryMap Map<String,String> map);

    @POST("ljyyxshydjdjhb/list")
    Call<JhshBean> getSheyjh(@QueryMap Map<String,String> map);

    @POST("ljyyxydjdjhb/yjhcxlist")
    Call<JhshBean> getSheyjhcx(@QueryMap Map<String,String> map);

    @GET("ljyyxydjdjhbls/getHistoryBasicInfo")
    Call<JhshLsBean> getJhshLsXq(@QueryMap Map<String,String> map);

    @POST("ljyyxjdjhbshdw/selectYjdjhbShDwList")
    Call<ShenheInfoBean> getSgyjhshjl(@QueryMap Map<String,String> map);

    @POST("vwljyyxzdbyhdwxx/selectYdjdjhbAuditUser")
    Call<ContactBean> getDwContact(@QueryMap Map<String,String> map);

    @POST("ljyyxrjdjhb/rjhcxlist")
    Call<SgcxrjhBean> getChaxunrjhData(@QueryMap Map<String,String> map);

    @POST("ljyyxrjdjhb/getBasicInfo")
    Call<SgcxrjhDetailBean> getChaxunrjhDetailData(@QueryMap Map<String,String> map);

    @POST("ljyyxzjdjhb/zjhcxlist")
    Call<SgcxzjhBean> getSgzjhListData(@QueryMap Map<String,String> map);

    @POST("ljyyxzjdjhb/getBasicInfo")
    Call<SgcxzjhDetailBean> getSgzjhDetailData(@QueryMap Map<String,String> map);

    @POST("ljyyxshydjdjhb/getAuditBasicInfo")
    Call<ShyjhxqBean> getShyjhDetailData(@QueryMap Map<String,String> map);

    @POST("ljyyxsgbydjdjhb/spwcList")
    Call<JhshBean> getSpyjhDetailData(@QueryMap Map<String,String> map);

    @POST("ljyyxshydjdjhb/unitAuditYdjdjhb")
    Call<SuccessBean> shyjh(@Body SgyjhshPost bean);

    @POST("ljyyxshydjdjhb/updateSpBackYdjdjhb")
    Call<SuccessBean> shyjhth(@Body YjhshthBean bean);

    @POST("ljyyxshydjdjhb/updateSubmitYdjdjhb")
    Call<SuccessBean> shyjhtj(@Body XmzgbmTjPost bean);

    @POST("ljyyxshydjdjhb/updateSetupYdjdjhb")
    Call<SuccessBean> postSetFlowData(@Body MyYdjdjhbInfo bean);

    @POST("ljyyxsgbydjdjhb/updateSgbHzYdjdjhb")
    Call<SuccessBean> sgbhz(@Body SgbhzPost bean);

    @POST("ljyyxsgbydjdjhb/updateSgbDhzYdjdjhb")
    Call<SuccessBean> sgbdhz(@Body SgbDhzPost bean);

    @POST("ljyyxsgbydjdjhb/updateSgbThYdjdjhb")
    Call<SuccessBean> sgbth(@Body SgbThPost bean);

    @POST("sgjhqstation/sgqdList")
    Call<SgqdBean> getSgqdListData();

    @POST("ljyyxsgbydjdjhb/updateSgbQhqdYdjdjhb")
    Call<SuccessBean> postQhqdData(@Body MySgbOpeartion bean);

    @POST("ljyyxshwcydjdjhb/shwcList")
    Call<JhshBean> getSgyjhShywcList(@QueryMap Map<String,String> map);

    @POST("ljyyxsgbydjdjhb/updateSgbSetupYdjdjhb")
    Call<SuccessBean> postSgbSetFlowData(@Body MySgbOpeartionZd bean);

    @POST("ljyyxshzjdjhb/list")
    Call<ShzjhBean> requestShzjhListData(@QueryMap Map<String,String> map);

    @POST("ljyyxshwczjdjhb/list")
    Call<ShzjhywcBean> requestShzjhywcListData(@QueryMap Map<String,String> map);

    @POST("ljyyxzjdjhbshdw/selectZjdjhbShDwList")
    Call<SgzjhCkshjlBean> requestSgzjhCkshjlData(@QueryMap Map<String,String> map);

    @POST("ljyyxshrjdjhb/list")
    Call<SgrjhShListBean> requestSgrjhShListData(@QueryMap Map<String,String> map);

    @POST("ljyyxshwcrjdjhb/list")
    Call<SgrjhShywcListBean> requestSgrjhShywcListData(@QueryMap Map<String,String> map);

    @POST("ljyyxshzjdjhb/unitAuditZjdjhb")
    Call<SuccessBean> postSgzjhShenheData(@Body MyZjdjhbShdw bean);

    @POST("ljyyxshwczjdjhb/tovoidZjdjhb")
    Call<SuccessBean> requestSgzjhywcZfData(@QueryMap Map<String,String> map);

    @POST("ljyyxshwczjdjhb/issuedZjdjhb")
    Call<SuccessBean> requestSgzjhywcXdzjh(@QueryMap Map<String,String> map);

    @POST("ljyyxshrjdjhb/unitAuditRjdjhb")
    Call<SuccessBean> postSgrjhShenheData(@Body LjyyxRjdjhbShdw bean);

    @POST("ljyyxrjdjhbshdw/selectRjdjhbShDwList")
    Call<SgrjhCkshjlBean> requestSgrjhCkshjlData(@QueryMap Map<String,String> map);

    @POST("ljyyxshwcrjdjhb/tovoidRjdjhb")
    Call<SuccessBean> requestSgrjhywcZfData(@QueryMap Map<String,String> map);

    @POST("ljyyxsgbydjdjhb/updateXdZsYdjdjhb")
    Call<SuccessBean> postSgbxdzs(@Body GsonBean.MyYdjdjhbInfo bean);
}
